<div id="manage-series">
  <% form_tag(url_for(:controller => :series, :action => 'update'), :method => :put) do %>
  <ul id="sortable_series_list">
    <% for serial in @serial_works %>
      <li id="serial_<%= serial.id %>" class='series-position-list'>
        <%= text_field_tag 'series[serials][]', nil, :size => 3, :maxlength => 3, :class => 'serial-position-field' -%>
        <span id='position-for-<%= serial.id %>'><%= serial.position %></span>. 
        <%=h serial.work.title %>
      </li>
    <% end %>    
  </ul>
  <p class="submit"><%= submit_tag "Update Positions".t %></p>
  <% end %>
</div>

<%= sortable_element('sortable_series_list', :url => {:action => :update}, :method => :put) %>
